'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async Index() {
    const { ctx, service, app } = this;
    const { Op } = app.Seuqelize;
    try {
      const params = ctx.joi({});
      ctx.success('hi, mina');
    } catch (error) {
      ctx.fail(error);
    }
  }
}

module.exports = HomeController;
